#include <stdio.h>
int main(void)
{
	char nums[100]="hello world";
	int length=0;//保存字符串长度
	for(int i=0;i<sizeof(nums);i++){
		printf("%c\n",nums[i]);
		if(nums[i]=='\0'){
			break;
		}
		length++;
	}
	printf("%d\n",length);
	return 0;
}
